x86: Initialize the affinity field after assigning the vector.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 21 Oct 2009 15:07:37 +0000 (16:07 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 21 Oct 2009 15:07:37 +0000 (16:07 +0100)
commit9cd9340a83eef7e52b0444c5d927eca149a25cc9
treef63e38766db5bf4b414c8671cc39ba983ae1d971
parent1e06ab536d6c8139ed3c033a157b4d353c06a55f
x86: Initialize the affinity field after assigning the vector.

To avoid strange output from debug-key "i", desc->affinity should
be the subset of the cfg->domain basically, so copy cfg->domain to
desc->affinity after assigning vector for the irq..

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
xen/arch/x86/irq.c